import java.util.ArrayList;
import java.util.Scanner;


public class main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		ArrayList<player> playerlist = new ArrayList<player>();
		Scanner sc=new Scanner(System.in);
		System.out.println("How many players are playing?");
		int playernum = sc.nextInt();
		for(int i = 0;i<playernum; i++){
			playerlist.add(new player("Player"+i));
			
		}
		
		deck thedeck= new deck();
		game thegame = new game(playerlist, thedeck);
		thegame.playGame();
		
		/*
		deck myDeck = new deck();
		System.out.println(myDeck.toString());
		myDeck.shuffle();
		System.out.println(myDeck.toString());
		//p.hitCard(myDeck.draw());
		//System.out.println(p.hand.toString());
			*/
	}

}
